home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 227_01 / basnames.h < prev    next >
Text File  |  1988-02-07  |  1KB  |  33 lines

  1. /*
  2.  * b a s n a m e s . h
  3.  * -------------------
  4.  * This header file converts compatible graphics library function names
  5.  * to their basic counterparts. This file bases on an idea of Michael Yokoyama
  6.  * of Aiea, HI.
  7.  *
  8.  * This file needs only to be included if the user wishes to use basic-like
  9.  * funtion names.
  10.  *
  11.  * release history
  12.  * --------------
  13.  * Nov, 14. 1987     First version created.
  14.  *
  15.  * Written by        Rainer Gerhards
  16.  *                   Petronellastr. 6
  17.  *                   D-5112 Baesweiler
  18.  *                   West Germany
  19.  *                   Phone (49) 2401 - 1601
  20.  */
  21. #ifdef    H_BASNAMES
  22. #define    H_BASNAMES
  23.  
  24. #define    pset(x, y, color)    wrtpixel(x, y, color)
  25. #define    fpoint(x, y)        getpixel(x, y)
  26. #define    point(x, y)        getpixel(x, y)
  27. #define    initgco(x1, y1, x2, y2)    setgloco(x1, y1, x2, y2)
  28. #define    gxtolx(x)        convxco(x)
  29. #define    gytoly(y)        convyco(y)
  30. #define    pmap(x, n)        ((n) ? gytoly(x) : gxtolx(x))
  31.  
  32. #endif
  33.